package com.sanjiahantang.youjiarole.module.complain.beans;

import com.google.gson.Gson;
import com.sanjiahantang.youjiarole.base.BaseBean;
import com.sanjiahantang.youjiarole.module.common.beans.FileBean;

import java.util.List;

/**
 * Created by zy on 2017/9/11.
 * 投诉
 */

public class ComplainBean extends BaseBean {
    private String data;

    public Data getData() {
        return new Gson().fromJson(data,Data.class);
    }

    public void setData(String data) {
        this.data = data;
    }

    public static class Data extends ListBean{
        private List<Item> list;

        public List<Item> getList() {
            return list;
        }

        public void setList(List<Item> list) {
            this.list = list;
        }
    }

    public static class Item{
        private String visitResult;
        private String complaintObjectLoginId;
        private int cciId;
        private String complaintObjectName;
        private String complaintContent;
        private String complaintTime;
        private int visitStart;
        private String complaintLoginId;
        private int complaintRole;
        private int complaintState;
        private String handleReusle;
        private int complaintType;
        private int handleMode;
        private String complaintName;
        private int projectId;
        private String handleProcess;
        private List<FileBean.Data> imgUrlList;

        public List<FileBean.Data> getImgUrlList() {
            return imgUrlList;
        }

        public void setImgUrlList(List<FileBean.Data> imgUrlList) {
            this.imgUrlList = imgUrlList;
        }

        public String getVisitResult() {
            return visitResult;
        }

        public void setVisitResult(String visitResult) {
            this.visitResult = visitResult;
        }

        public String getComplaintObjectLoginId() {
            return complaintObjectLoginId;
        }

        public void setComplaintObjectLoginId(String complaintObjectLoginId) {
            this.complaintObjectLoginId = complaintObjectLoginId;
        }

        public int getCciId() {
            return cciId;
        }

        public void setCciId(int cciId) {
            this.cciId = cciId;
        }

        public String getComplaintObjectName() {
            return complaintObjectName;
        }

        public void setComplaintObjectName(String complaintObjectName) {
            this.complaintObjectName = complaintObjectName;
        }

        public String getComplaintContent() {
            return complaintContent;
        }

        public void setComplaintContent(String complaintContent) {
            this.complaintContent = complaintContent;
        }

        public String getComplaintTime() {
            return complaintTime;
        }

        public void setComplaintTime(String complaintTime) {
            this.complaintTime = complaintTime;
        }

        public int getVisitStart() {
            return visitStart;
        }

        public void setVisitStart(int visitStart) {
            this.visitStart = visitStart;
        }

        public String getComplaintLoginId() {
            return complaintLoginId;
        }

        public void setComplaintLoginId(String complaintLoginId) {
            this.complaintLoginId = complaintLoginId;
        }

        public int getComplaintRole() {
            return complaintRole;
        }

        public void setComplaintRole(int complaintRole) {
            this.complaintRole = complaintRole;
        }

        public int getComplaintState() {
            return complaintState;
        }

        public void setComplaintState(int complaintState) {
            this.complaintState = complaintState;
        }

        public String getHandleReusle() {
            return handleReusle;
        }

        public void setHandleReusle(String handleReusle) {
            this.handleReusle = handleReusle;
        }

        public int getComplaintType() {
            return complaintType;
        }

        public void setComplaintType(int complaintType) {
            this.complaintType = complaintType;
        }

        public int getHandleMode() {
            return handleMode;
        }

        public void setHandleMode(int handleMode) {
            this.handleMode = handleMode;
        }

        public String getComplaintName() {
            return complaintName;
        }

        public void setComplaintName(String complaintName) {
            this.complaintName = complaintName;
        }

        public int getProjectId() {
            return projectId;
        }

        public void setProjectId(int projectId) {
            this.projectId = projectId;
        }

        public String getHandleProcess() {
            return handleProcess;
        }

        public void setHandleProcess(String handleProcess) {
            this.handleProcess = handleProcess;
        }
    }

    public static class Image{
        private String url;
        private String id;

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }
    }
}
